﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApplication1
{
    /// <summary>
    /// 获取回收库关键词列表请求模型
    /// </summary>
    public class ReqGetRecycleKeywordModel
    {
        /// <summary>
        /// 学科ID
        /// </summary>
        public string subjectId { set; get; }

        /// <summary>
        /// 来源 0-互联网 1-资料  2-全部
        /// </summary>
        public int sourceFlag { set; get; }

        /// <summary>
        /// 模糊匹配字段 查询全部内容 设置为""
        /// </summary>
        public string searchString { set; get; }

        /// <summary>
        /// 分页大小
        /// </summary>
        public int pageSize { set; get; }

        /// <summary>
        /// 当前分页
        /// </summary>
        public int pageIndex { set; get; }

        public ReqGetRecycleKeywordModel(string subjectId, int sourceFlag, string searchString, int pageSize, int pageIndex)
        {
            this.subjectId = subjectId;
            this.sourceFlag = sourceFlag;
            this.searchString = searchString;
            this.pageIndex = pageIndex;
            this.pageSize = pageSize;
        }
    }
}
